﻿using Bll;
using Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace Myproject.BSM.PcWeb.PcBase
{
    public partial class JoinEdit : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            string JoinID = Request.QueryString["id"];
            if (!string.IsNullOrEmpty(JoinID))
            {
                
                pc_base_JoinEdit_joinID.Value = JoinID;
                JoinModel model = new JoinBLL().GetModel(Int32.Parse(JoinID));
                pc_base_JoinEdit_title.Value = model.title;
                pc_base_JoinEdit_number.Value = model.unmber.ToString();
                pc_base_JoinEdit_money.Value = model.money.ToString();
                pc_base_JoinEdit_text.Value = model.text;
            }
        }
    }
}